import {CHANGE_QUERY_TIME} from "./const";

const initState = {
  queryTime: null
}

export default function reportReducer(state = initState, {type, payload}) {
  switch (type) {
    case CHANGE_QUERY_TIME:
      return {...initState, queryTime: payload}
    default:
      return state
  }
}
